package com.asset.dispoal.file.user.domain.service;

import com.asset.dispoal.file.user.api.IFileUserService;
import com.asset.dispoal.file.user.domain.service.common.FileUserCommand;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import tech.mhuang.pacebox.springboot.protocol.Result;

@Service
public class FileUserServiceImpl implements IFileUserService {

    @Autowired
    private FileUserCommand fileUserCommand;

    @Override
    public Result loginUser(String username, String password) {
        return fileUserCommand.loginUser(username, password);
    }
}
